<?php
// Autor (c) Miroslav Novak, www.platiti.cz
// Pouzivani bez souhlasu autora neni povoleno
// #Ver:PRV043#


function setTexts(&$_, $uniModulName, $language, $subMethod) {
	require_once(DIR_APPLICATION."../UniModul/UniModul.php");
	$uniFact = new UniModulFactory();
	$uniModul = $uniFact->createUniModul($uniModulName,null, $subMethod); 
	if ($subMethod == '') {
		$_['heading_title']      = $uniModul->dictionary->get('payment_method_name', $language);
	} else {
		$_['heading_title']      = $uniModul->dictionary->get('submethod_name_'.$subMethod, $language);
	}
	$_['text_'.strtolower($uniModulName).'binder'.strtolower($subMethod)] = '<a onclick="window.open(\'http://www.platiti.cz\');">www.platiti.cz</a>';
}
